//
//  PlayViewController.h
//  musicPlayer
//
//  Created by 鹏飞罗 on 16/8/20.
//  Copyright © 2016年 罗鹏飞. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>
#import <AVKit/AVKit.h>
@interface PlayViewController : UIViewController
@property (nonatomic, strong) AVPlayer *player;
@property (weak, nonatomic) IBOutlet UISlider *playSlider;
@property (nonatomic, assign) CGFloat totalTime;
@property (weak, nonatomic) IBOutlet UISlider *volumeSlider;
@property (weak, nonatomic) IBOutlet UILabel *leftLabel;
@property (weak, nonatomic) IBOutlet UILabel *rightLabel;
@property (weak, nonatomic) IBOutlet UIImageView *imageView;
@property (weak, nonatomic) IBOutlet UIView *imageBackgroundView;

- (void) play:(void (^) (UIButton *play))play pause:(void (^) (UIButton *pause))pause;
@end
